package br.com.dallas.util.validar;

import java.util.Collection;

import br.com.dallas.util.lang.StringUtil;

public final class ValidarObjeto
{
	public static boolean isStringValida(String stringEntrada)
	{
		if (stringEntrada != null && !StringUtil.getStringEspacoExcedente(stringEntrada).equals(""))
		{
			return true;
		}
		return false;
	}
	
	@SuppressWarnings("rawtypes")
	public static boolean isCollectionValida(Collection collection)
	{
		if (collection != null && !collection.isEmpty())
		{
			return true;
		}
		return false;
	}
}
